<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');
//手机号密码登录
Route::post('telPwd','Login/telPwd')->allowCrossDomain();
//手机号发送验证码
Route::get('getPhone','Login/getPhone')->allowCrossDomain();
//验证验证码
Route::post('telData','Login/telData')->allowCrossDomain();
//修改密码
Route::post('updatePwd','Login/updatePwd')->allowCrossDomain();
